package com.jeeplus.modules.guide.mapper;

import com.jeeplus.modules.guide.entity.YmbcsLabel;
import com.jeeplus.modules.guide.entity.YmbcsMatter;
import com.jeeplus.modules.guide.entity.YmbcsMatterBszn;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface YmbcsMatterMapper {
    List<YmbcsMatter> ymbcsMatterList(String searchWords,String version);
    List<YmbcsMatter> ymbcsMatterListOnline(String searchWords,String version);
    List<String>ymbcsMatterListOnlineByName(String version,String matterName);
    List<YmbcsLabel> ymbcsMatterType();
    List<YmbcsMatterBszn> ymbcsStreeList(String matterName,String version);
    List<Map<String,Object>> ymbcsMaterialList(String idcard);
    List<Map<String,Object>> ymbcsMyMaterialList(String loginName,String oid);
    String ymbcsMaterialDo(String oid);
    List<HashMap<String,String>> matterSWList(@Param("searchWords") String searchWords);
    int intoRC(String id,String name,String jsonValue,String matterName,String doTime,String loginName);
    String selectRC(String loginName,String name);
    int updateRC(String id,String jsonValue);
    String findRCById(String id);
    List<Map<String,String>> cqListFR();
    List<Map<String,String>> cqListJBR();
    void  updateListFR(String idcard,String loginName);
    void delListFR(String idcard,String loginName);
    String findmaterialsUrl(String idcard);
    List<HashMap<String,String>> findMaterialsListName();
    void intomateriallist(String oid,String mattername,String materialname);
}
